package demo.business;

import java.util.Date;

/**
 * @Auther cuichao
 * @Description: User
 * @Date: create in 2020/3/31 18:58
 */
public class User {

    private int age;
    private String name;
    private Person person = new Person();
    private Date date = new Date();

    public User() {
    }

    public User(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }


    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
}
